﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading;
using System.Net.Sockets;
using System.Net;

namespace FBGModelSetting
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            string strVer=Environment.Version.ToString();
            if (strVer.Substring(0, 3) != "4.0")
            {
                MessageBox.Show("本软件需要.NET Frramework 4.0的支持，请安装后再试！","警告",MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else
            {
                Application.Run(new frmFbgSetting());
            }
        }
    }
}
